package edu.hawaii.stack;

/**
 * EmptyStackException is thrown when an attempt is made to pop an empty stack.
 *
 * @author Philip M. Johnson
 * @version $Id: EmptyStackException.java,v 1.1.1.1 2005/02/02 02:17:52 johnson Exp $
 */
public class EmptyStackException extends Exception {

  /**
   * Indicates an illegal operation on an empty stack was performed.
   * @param e The exception thrown.
   */
  public EmptyStackException(Exception e) {
    super(e.getMessage());
  }
}
